import request from '@/utils/request'
export const area = (params) => {
  return request({
    url: '/area',
    params
  })
}
export const cityname = (params) => {
  return request({
    url: 'area/info',
    params
  })
}
export const gethouses = (params) => {
  return request({
    url: 'houses',
    params
  })
}
export const subway = (params) => {
  return request({
    url: 'houses/condition',
    params
  })
}
export const houses = ({ id }) => {
  return request({
    url: 'houses/' + id
  })
}
